package com.wxxymakers.grademark.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@TableName("wx_duty")
public class WxDuty implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(condition = SqlCondition.LIKE)
    private String name;

    /**
     * 职务级别，用来区分职位的高低
     */
    private Integer rank;

    /**
     * 职务最高等级
     */
    private Integer maxLevel;

    /**
     * 职务添加时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date datetime;

    /**
     * 描述
     */
    private String description;

    private static final long serialVersionUID = 1L;
}